<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>QuantumLibrary: Bloomberg::quantum::SharedState&lt; Buffer&lt; T &gt; &gt; Class Template Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">QuantumLibrary
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('de/df2/classBloomberg_1_1quantum_1_1SharedState_3_01Buffer_3_01T_01_4_01_4.html','../../');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="../../d4/d45/classBloomberg_1_1quantum_1_1SharedState_3_01Buffer_3_01T_01_4_01_4-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Bloomberg::quantum::SharedState&lt; Buffer&lt; T &gt; &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="../../d4/de4/quantum__shared__state_8h_source.html">quantum_shared_state.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a50e552f90a3072c4adb1558331e8a180"><td class="memTemplParams" colspan="2">template&lt;class V  = T&gt; </td></tr>
<tr class="memitem:a50e552f90a3072c4adb1558331e8a180"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../de/df2/classBloomberg_1_1quantum_1_1SharedState_3_01Buffer_3_01T_01_4_01_4.html#a50e552f90a3072c4adb1558331e8a180">push</a> (V &amp;&amp;value)</td></tr>
<tr class="separator:a50e552f90a3072c4adb1558331e8a180"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f57375a8c3b853308f9bfb973b500dc"><td class="memTemplParams" colspan="2">template&lt;class V  = T&gt; </td></tr>
<tr class="memitem:a6f57375a8c3b853308f9bfb973b500dc"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../de/df2/classBloomberg_1_1quantum_1_1SharedState_3_01Buffer_3_01T_01_4_01_4.html#a6f57375a8c3b853308f9bfb973b500dc">push</a> (<a class="el" href="../../d3/d63/structBloomberg_1_1quantum_1_1ICoroSync.html#a109b2c4b7d70d53d48bb640a9d849b29">ICoroSync::Ptr</a> sync, V &amp;&amp;value)</td></tr>
<tr class="separator:a6f57375a8c3b853308f9bfb973b500dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb5429915ad94389c336553035d86b83"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df2/classBloomberg_1_1quantum_1_1SharedState_3_01Buffer_3_01T_01_4_01_4.html#aeb5429915ad94389c336553035d86b83">pull</a> (bool &amp;isBufferClosed)</td></tr>
<tr class="separator:aeb5429915ad94389c336553035d86b83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09d5297a97ea5931bdf462091d977b40"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df2/classBloomberg_1_1quantum_1_1SharedState_3_01Buffer_3_01T_01_4_01_4.html#a09d5297a97ea5931bdf462091d977b40">pull</a> (<a class="el" href="../../d3/d63/structBloomberg_1_1quantum_1_1ICoroSync.html#a109b2c4b7d70d53d48bb640a9d849b29">ICoroSync::Ptr</a> sync, bool &amp;isBufferClosed)</td></tr>
<tr class="separator:a09d5297a97ea5931bdf462091d977b40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee217079e169dbf32d6cc612f14d42c9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df2/classBloomberg_1_1quantum_1_1SharedState_3_01Buffer_3_01T_01_4_01_4.html#aee217079e169dbf32d6cc612f14d42c9">breakPromise</a> ()</td></tr>
<tr class="separator:aee217079e169dbf32d6cc612f14d42c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7dd712cc12b54f5e346a43130e80290c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df2/classBloomberg_1_1quantum_1_1SharedState_3_01Buffer_3_01T_01_4_01_4.html#a7dd712cc12b54f5e346a43130e80290c">wait</a> () const</td></tr>
<tr class="separator:a7dd712cc12b54f5e346a43130e80290c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa141c6120f61116a8bb29a3b7f1d5631"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df2/classBloomberg_1_1quantum_1_1SharedState_3_01Buffer_3_01T_01_4_01_4.html#aa141c6120f61116a8bb29a3b7f1d5631">wait</a> (<a class="el" href="../../d3/d63/structBloomberg_1_1quantum_1_1ICoroSync.html#a109b2c4b7d70d53d48bb640a9d849b29">ICoroSync::Ptr</a> sync) const</td></tr>
<tr class="separator:aa141c6120f61116a8bb29a3b7f1d5631"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abeb7eac1991d0d30ff1a9e7bb1611866"><td class="memTemplParams" colspan="2">template&lt;class REP , class PERIOD &gt; </td></tr>
<tr class="memitem:abeb7eac1991d0d30ff1a9e7bb1611866"><td class="memTemplItemLeft" align="right" valign="top">std::future_status&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../de/df2/classBloomberg_1_1quantum_1_1SharedState_3_01Buffer_3_01T_01_4_01_4.html#abeb7eac1991d0d30ff1a9e7bb1611866">waitFor</a> (const std::chrono::duration&lt; REP, PERIOD &gt; &amp;time) const</td></tr>
<tr class="separator:abeb7eac1991d0d30ff1a9e7bb1611866"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a622f11b0d52d3339e711cf0d65dd617b"><td class="memTemplParams" colspan="2">template&lt;class REP , class PERIOD &gt; </td></tr>
<tr class="memitem:a622f11b0d52d3339e711cf0d65dd617b"><td class="memTemplItemLeft" align="right" valign="top">std::future_status&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../de/df2/classBloomberg_1_1quantum_1_1SharedState_3_01Buffer_3_01T_01_4_01_4.html#a622f11b0d52d3339e711cf0d65dd617b">waitFor</a> (<a class="el" href="../../d3/d63/structBloomberg_1_1quantum_1_1ICoroSync.html#a109b2c4b7d70d53d48bb640a9d849b29">ICoroSync::Ptr</a> sync, const std::chrono::duration&lt; REP, PERIOD &gt; &amp;time) const</td></tr>
<tr class="separator:a622f11b0d52d3339e711cf0d65dd617b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5922a4e8b1bd4b2adec935eacb3c32d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df2/classBloomberg_1_1quantum_1_1SharedState_3_01Buffer_3_01T_01_4_01_4.html#ab5922a4e8b1bd4b2adec935eacb3c32d">setException</a> (std::exception_ptr ex)</td></tr>
<tr class="separator:ab5922a4e8b1bd4b2adec935eacb3c32d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92584d7ed22fd0545163db29613df941"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df2/classBloomberg_1_1quantum_1_1SharedState_3_01Buffer_3_01T_01_4_01_4.html#a92584d7ed22fd0545163db29613df941">setException</a> (<a class="el" href="../../d3/d63/structBloomberg_1_1quantum_1_1ICoroSync.html#a109b2c4b7d70d53d48bb640a9d849b29">ICoroSync::Ptr</a> sync, std::exception_ptr ex)</td></tr>
<tr class="separator:a92584d7ed22fd0545163db29613df941"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc126a813d1eef4c84991bd971138942"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df2/classBloomberg_1_1quantum_1_1SharedState_3_01Buffer_3_01T_01_4_01_4.html#acc126a813d1eef4c84991bd971138942">closeBuffer</a> ()</td></tr>
<tr class="separator:acc126a813d1eef4c84991bd971138942"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a60828f7c21c9cf3c2c98a302a537f714"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d9/d6d/classclass.html">class</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/df2/classBloomberg_1_1quantum_1_1SharedState_3_01Buffer_3_01T_01_4_01_4.html#a60828f7c21c9cf3c2c98a302a537f714">Promise&lt; Buffer&lt; T &gt; &gt;</a></td></tr>
<tr class="separator:a60828f7c21c9cf3c2c98a302a537f714"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aee217079e169dbf32d6cc612f14d42c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee217079e169dbf32d6cc612f14d42c9">&#9670;&nbsp;</a></span>breakPromise()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; <a class="el" href="../../d1/d87/classBloomberg_1_1quantum_1_1Buffer.html">Buffer</a>&lt; T &gt; &gt;::breakPromise </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="acc126a813d1eef4c84991bd971138942"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc126a813d1eef4c84991bd971138942">&#9670;&nbsp;</a></span>closeBuffer()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; <a class="el" href="../../d1/d87/classBloomberg_1_1quantum_1_1Buffer.html">Buffer</a>&lt; T &gt; &gt;::closeBuffer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aeb5429915ad94389c336553035d86b83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb5429915ad94389c336553035d86b83">&#9670;&nbsp;</a></span>pull() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; <a class="el" href="../../d1/d87/classBloomberg_1_1quantum_1_1Buffer.html">Buffer</a>&lt; T &gt; &gt;::pull </td>
          <td>(</td>
          <td class="paramtype">bool &amp;&#160;</td>
          <td class="paramname"><em>isBufferClosed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a09d5297a97ea5931bdf462091d977b40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09d5297a97ea5931bdf462091d977b40">&#9670;&nbsp;</a></span>pull() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; <a class="el" href="../../d1/d87/classBloomberg_1_1quantum_1_1Buffer.html">Buffer</a>&lt; T &gt; &gt;::pull </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d3/d63/structBloomberg_1_1quantum_1_1ICoroSync.html#a109b2c4b7d70d53d48bb640a9d849b29">ICoroSync::Ptr</a>&#160;</td>
          <td class="paramname"><em>sync</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool &amp;&#160;</td>
          <td class="paramname"><em>isBufferClosed</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a50e552f90a3072c4adb1558331e8a180"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a50e552f90a3072c4adb1558331e8a180">&#9670;&nbsp;</a></span>push() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<div class="memtemplate">
template&lt;class V &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; <a class="el" href="../../d1/d87/classBloomberg_1_1quantum_1_1Buffer.html">Buffer</a>&lt; T &gt; &gt;::push </td>
          <td>(</td>
          <td class="paramtype">V &amp;&amp;&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a6f57375a8c3b853308f9bfb973b500dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f57375a8c3b853308f9bfb973b500dc">&#9670;&nbsp;</a></span>push() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<div class="memtemplate">
template&lt;class V &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; <a class="el" href="../../d1/d87/classBloomberg_1_1quantum_1_1Buffer.html">Buffer</a>&lt; T &gt; &gt;::push </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d3/d63/structBloomberg_1_1quantum_1_1ICoroSync.html#a109b2c4b7d70d53d48bb640a9d849b29">ICoroSync::Ptr</a>&#160;</td>
          <td class="paramname"><em>sync</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">V &amp;&amp;&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab5922a4e8b1bd4b2adec935eacb3c32d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5922a4e8b1bd4b2adec935eacb3c32d">&#9670;&nbsp;</a></span>setException() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; <a class="el" href="../../d1/d87/classBloomberg_1_1quantum_1_1Buffer.html">Buffer</a>&lt; T &gt; &gt;::setException </td>
          <td>(</td>
          <td class="paramtype">std::exception_ptr&#160;</td>
          <td class="paramname"><em>ex</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a92584d7ed22fd0545163db29613df941"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92584d7ed22fd0545163db29613df941">&#9670;&nbsp;</a></span>setException() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; <a class="el" href="../../d1/d87/classBloomberg_1_1quantum_1_1Buffer.html">Buffer</a>&lt; T &gt; &gt;::setException </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d3/d63/structBloomberg_1_1quantum_1_1ICoroSync.html#a109b2c4b7d70d53d48bb640a9d849b29">ICoroSync::Ptr</a>&#160;</td>
          <td class="paramname"><em>sync</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::exception_ptr&#160;</td>
          <td class="paramname"><em>ex</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a7dd712cc12b54f5e346a43130e80290c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7dd712cc12b54f5e346a43130e80290c">&#9670;&nbsp;</a></span>wait() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; <a class="el" href="../../d1/d87/classBloomberg_1_1quantum_1_1Buffer.html">Buffer</a>&lt; T &gt; &gt;::wait </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aa141c6120f61116a8bb29a3b7f1d5631"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa141c6120f61116a8bb29a3b7f1d5631">&#9670;&nbsp;</a></span>wait() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; <a class="el" href="../../d1/d87/classBloomberg_1_1quantum_1_1Buffer.html">Buffer</a>&lt; T &gt; &gt;::wait </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d3/d63/structBloomberg_1_1quantum_1_1ICoroSync.html#a109b2c4b7d70d53d48bb640a9d849b29">ICoroSync::Ptr</a>&#160;</td>
          <td class="paramname"><em>sync</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="abeb7eac1991d0d30ff1a9e7bb1611866"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abeb7eac1991d0d30ff1a9e7bb1611866">&#9670;&nbsp;</a></span>waitFor() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<div class="memtemplate">
template&lt;class REP , class PERIOD &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::future_status <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; <a class="el" href="../../d1/d87/classBloomberg_1_1quantum_1_1Buffer.html">Buffer</a>&lt; T &gt; &gt;::waitFor </td>
          <td>(</td>
          <td class="paramtype">const std::chrono::duration&lt; REP, PERIOD &gt; &amp;&#160;</td>
          <td class="paramname"><em>time</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a622f11b0d52d3339e711cf0d65dd617b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a622f11b0d52d3339e711cf0d65dd617b">&#9670;&nbsp;</a></span>waitFor() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<div class="memtemplate">
template&lt;class REP , class PERIOD &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">std::future_status <a class="el" href="../../d2/df0/classBloomberg_1_1quantum_1_1SharedState.html">Bloomberg::quantum::SharedState</a>&lt; <a class="el" href="../../d1/d87/classBloomberg_1_1quantum_1_1Buffer.html">Buffer</a>&lt; T &gt; &gt;::waitFor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d3/d63/structBloomberg_1_1quantum_1_1ICoroSync.html#a109b2c4b7d70d53d48bb640a9d849b29">ICoroSync::Ptr</a>&#160;</td>
          <td class="paramname"><em>sync</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::chrono::duration&lt; REP, PERIOD &gt; &amp;&#160;</td>
          <td class="paramname"><em>time</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a60828f7c21c9cf3c2c98a302a537f714"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60828f7c21c9cf3c2c98a302a537f714">&#9670;&nbsp;</a></span>Promise&lt; Buffer&lt; T &gt; &gt;</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend <a class="el" href="../../d9/d6d/classclass.html">class</a> <a class="el" href="../../d1/d15/classBloomberg_1_1quantum_1_1Promise.html">Promise</a>&lt; <a class="el" href="../../d1/d87/classBloomberg_1_1quantum_1_1Buffer.html">Buffer</a>&lt; T &gt; &gt;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d6/db9/namespaceBloomberg.html">Bloomberg</a></li><li class="navelem"><a class="el" href="../../dc/d48/namespaceBloomberg_1_1quantum.html">quantum</a></li><li class="navelem"><a class="el" href="../../de/df2/classBloomberg_1_1quantum_1_1SharedState_3_01Buffer_3_01T_01_4_01_4.html">SharedState&lt; Buffer&lt; T &gt; &gt;</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
  </ul>
</div>
</body>
</html>
